.leggo-configs {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  height: 100%;

  .top-area {
    min-height: 50px;
  }

  &-left {
    flex: 0 0 200px;
    overflow: auto;

    // border: 1px solid green;
    &-form-content {
      margin-right: 20px;

      .item {
        padding: 8px 0;
        margin: 12px 0;
        text-align: center;
        border: 1px dashed rgb(0 0 0 / 25%);

        &-forbidden {
          pointer-events: none;
        }

        &:hover {
          border-color: #eeeeee;
          box-shadow: 0 5px 5px 0 rgb(0 0 0 / 25%);
          transition: all 0.2s ease-in-out;
        }
      }
    }
  }

  &-middle {
    display: flex;
    flex: 1;
    flex-direction: column;

    .top-actions {
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: flex-end;
      margin: 10px;
    }

    &-form {
      flex: 1;
      overflow: auto;
      border: 1px dashed red;

      .drop-area {
        min-height: 100%;
        padding: 20px;

        // border: 1px dashed green;

        .dropped-item {
          position: relative;
          margin: 15px 0;

          .delete-butt {
            visibility: hidden;
          }

          &:hover {
            .delete-butt {
              visibility: visible;
            }
          }
        }

        .active-item {
          border: 1px dashed rgb(0 0 0 / 25%);
        }
      }
    }
  }

  &-right {
    flex: 0 1 320px;

    .scroll-container {
      height: calc(100% - 50px);
      overflow: auto;

      // border: 1px solid green;
      .configs-area {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 20px;
      }
    }
  }
}
